<div id="details-container">
    <div id="title-value" class="hidden">
        <?php if ($this->controller == 'admin_categories' && $this->method === 'edit'): ?>
        <?php echo sprintf(lang('cat_edit_title'), $category->title); ?>

        <?php else: ?>
        <?php echo lang('cat_create_title'); ?>
        <?php endif; ?>
    </div>
    <?php echo form_open($this->uri->uri_string(), 'class="crud" id="cat_create"'); ?>
    <ol>
        <li>
            <label for="title"><?php echo lang('cat_title_label');?></label>
            <?php echo  form_input('title', $category->title); ?>
            <span class="required-icon tooltip"><?php echo lang('required_label');?></span>
        </li>
    </ol>
    <div class="buttons float-left padding-top">
        <?php $this->load->view('admin/partials/buttons', array('buttons' => array('save', 'cancel'))); ?>
    </div>
    <?php echo form_close(); ?>
</div>